#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QtNetwork/QNetworkAccessManager>
namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    QNetworkAccessManager *manager;
    explicit MainWindow(QWidget *parent = 0);

    int  getOrderListFromServer();

    ~MainWindow();
public slots:
     void   replyFinished(QNetworkReply *reply);
private:
    Ui::MainWindow *ui;
};

#endif // MAINWINDOW_H
